package com.base.utils;

import java.util.List;

/**
 * <p>验证工具类</p>
 * @author Jason
 */
public class VerifyUtil {
	/**
	 * <p>不为空验证</p>
	 * @param obj
	 * @return
	 */
	public static boolean isNotNull(Object obj) {
		return null != obj;
	}
	
	/**
	 * <p>判断List不为空</p>
	 * @param list
	 * @return
	 */
	public static boolean listNotEmpty(List list) {
		return isNotNull(list) && list.size() > 0;
	}
}
